const { http } = uni.$u;

// 分页查询
export const getList = (params) =>
  http.get(`/appDevice/bindList?account=${params}`);
// 发送指令
export const appDeviceAt = (data) => http.post(`/appDevice/at`, data);
// 绑定设备
export const appDeviceBind = (data) => http.post(`/appDevice/bind`, data);
// 设备解绑
export const unbind = (data) => http.get(`/appDevice/unbind?imei=${data}`);
// 修改设备名称
export const modifyDeviceName = (data) => http.post(`/appDevice/modifyDeviceName`, data);
/*******************/
